package com.tebiecloud.yunst.client.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 提现信息
 */
@Data
public class WithdrawInfoVO implements Serializable {

    private Long userId; //提现人id

    private String number; //提现单号（流水号）

    private String bank; //银行卡

    private String cardNo; //提现银行卡号(尾号四位数)

    private String name; //持卡人

    private int amount; //金额（单位：分）

    private int fee; //手续费

    private int tax; //手续费

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyTime; //申请时间

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arrivedTime; //到账时间

    private int status; //状态：0待到账，1已到账
}
